<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="zh-CN" style="height: 100%;">
  <head>
  
    <fmt:setBundle basename="ApplicationMessage" />
    <fmt:setLocale value="zh_CN" />
  
  <title>管理系统 - 登录</title>
  
  	<%@ include file="/WEB-INF/include/meta.jsp" %>
    <%@ include file="/WEB-INF/include/css.jsp" %>
  </head>
  
  <body style="width: 100%; height: 100%; margin: 0px;" class="ms-theme-blue">
	  <div class="ms-form-login">
	  
		  <form id="login-form" class="login-form clearfix" action="${ctx.host}/j_spring_security_check" method="POST" data-validate="true">
		    
		    <h2>安吉物流供方管理平台</h2>
		    
		    <c:if test="${not empty errorMessage}">
		      <div class="alert alert-danger"><i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<fmt:message key="${errorMessage}" /></div>
		    </c:if>
		    
		    <div class="input-group input-group-lg">
		      <span class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></span>
		      <input type="text" class="form-control" placeholder="账号" name="j_username" value="" data-validate="required" />
		    </div>
		    
		    <div class="input-group input-group-lg">
		      <span class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></span>
		      <input type="password" class="form-control" placeholder="密码"  name="j_password" data-validate="required" />
		    </div>
		    
		    <div class="form-inline clearfix text-right">
		          
		        <button class="btn ms-btn-blue  btn-shadow btn-shadow-success demo2do-btn pull-right" type="submit">登录</button>
		        
		    </div>
		    
		  </form>
		  
    </div>
  <%@ include file="/WEB-INF/include/script.jsp" %>
  </body>
</html>